<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <link rel="icon" href="{{ STATIC_URL }}style/img/favicon.png" type="image/png"/>
        <title>{% block title %}campusshare{% endblock %}</title>
        <!--script src="/uploaded_content/jquery-1.5.min.js" /-->
        <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}style/own/style.css"/>
        <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}style/own/usermanagement.css"/>
        <!-- Spezialstyles für Smartphones -->
        <meta name="viewport" content="width = 500"/>
        <link rel="stylesheet" type="text/css" media="screen" href="{{ STATIC_URL }}style/own/mobile.css"/>
        
        <!-- Support of crappy browsers -->
        <!--[if IE]>
    		<link rel="stylesheet" type="text/css" media="screen" href="{{ STATIC_URL }}style/own/ie.css"/>
  		<![endif]-->
        
        <link rel="stylesheet" type="text/css" media="screen" href="{{ STATIC_URL }}style/jquery/smoothness/jquery-ui.css"/>
        <link rel="stylesheet" type="text/css" media="screen" href="{{ STATIC_URL }}style/jquery/jquery.tagsinput.css"/>
        
        <script type="text/javascript" src="{{ STATIC_URL }}scripts/libs/jquery.js"></script>
        <script type="text/javascript" src="{{ STATIC_URL }}scripts/libs/jquery-ui.js"></script>
        <script type="text/javascript" src="{{ STATIC_URL }}scripts/libs/jquery.tools.js"></script>
        
        <script type="text/javascript" src="{{ STATIC_URL }}scripts/own/fontloader.js"></script>
        
        <!-- Piwik --> 
		<script type="text/javascript">
		var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.lotterm.org/" : "http://piwik.lotterm.org/");
		document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
		</script><script type="text/javascript">
		try {
		var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 6);
		
		// track download class
		piwikTracker.setDownloadClasses( "download" );
		piwikTracker.trackPageView();
		piwikTracker.enableLinkTracking();
		} catch( err ) {}
		</script>
		<!-- End Piwik Tracking Code -->
        
        {% block scripts %}{% endblock %}
    </head>
    
    {% block body_tag %}
    <body>
    {% endblock %}
		<!-- Piwik -->
	    <noscript><p><img src="http://piwik.lotterm.org/piwik.php?idsite=6" style="border:0" alt="" /></p></noscript>
	    <!-- End Piwik Tracking Code -->
        <div id="header">
            <a href="/"><img src="{{ STATIC_URL }}style/img/logo.png" alt="campusshare home"/></a>
	        <div id="navi">
	        	<div id="navi_left"></div>
	        	<div id="navi_center">
		            <a href="/" class="navi_item">Home</a>
		            <a href="/documents/" class="navi_item">Dokumente</a>
		            <a href="/impressum/" class="navi_item">Impressum</a>
		            {% if current_user.is_staff %}
		            <a href="/admin/" class="navi_item">Admin</a>
		            {% endif %}
	            </div>
	        </div>
        </div>
            

            
        <div id="inline_navi">
            <div class="default" id="breadcrumbs">
                {% block inline_navi %}
                    Home
                {% endblock %}
            </div>
            <div id="login">
                {% include "usermanagement/login_form.html" %}
            </div>
        </div>

        <div id="content">
            {% block content %}
            	<div class="box">
	            	<h1>{% block box_title %}{% endblock %}</h1>
		            {% block box_content %}{% endblock %}
            	</div>
            {% endblock %}
            
        </div>
    </body>
</html>
